#pragma once
#include <vector>
#include <cstdint>

namespace Protocol {
    // 协议常量
    constexpr uint8_t FRAME_HEADER = 0x55;
    constexpr uint8_t FRAME_TAIL = 0xBB;
    constexpr uint8_t CMD_VELOCITY = 0x02;
    constexpr uint8_t DATA_LENGTH_VEL = 6;  // vx+vy+vz=6字节
    
    // 三轴速度控制协议封装
    std::vector<uint8_t> EncodeVelocity(int16_t vx, int16_t vy, int16_t vz);
}